﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>@ViewBag.Title</title>
		<!--Blueprint FrameWork-->
		<link rel="stylesheet" href="@Url.Content("~/Ext/blueprint/screen.css")" type="text/css" media="screen, projection"/>
		<link rel="stylesheet" href="@Url.Content("~/Ext/blueprint/style.css")"  type="text/css" media="screen, projection"/>
		<link rel="stylesheet" href="@Url.Content("~/Ext/blueprint/print.css")" type="text/css" media="print"/>
		<!--[if lt IE 8]>
		<link rel="stylesheet" href="css/blueprint/ie.css" type="text/css" media="screen, projection">
		<![endif]-->
		 <!--Google API,WYSIWYG, Custom JS -->
		<link rel="stylesheet" href="@Url.Content("~/Ext/jquery-ui-1.8.12.custom.css")"  type="text/css" />
		<link rel="SHORTCUT ICON" href="@Url.Content("~/Ext/favicon.ico")"/>
		<link  href="http://fonts.googleapis.com/css?family=Philosopher:regular" rel="stylesheet" type="text/css" >
		<script src="https://www.google.com/jsapi?key=ABQIAAAAZksU6LTIfR-70bF_mjmLKhT2yXp_ZAY8_ufC3CFXhHIE1NvwkxTAdP4kVECtX75EUivr-5oDV2zQGQ" type="text/javascript"></script>
		<script language="Javascript" type="text/javascript"> google.load("jquery", "1.6.0"); google.load("jqueryui", "1.8.12"); </script>
		<script src="@Url.Content("~/Scripts/jquery-ui-timepicker-addon.js")" type="text/javascript"></script>
		<script src="http://js.nicedit.com/nicEdit-latest.js" type="text/javascript"></script>
		<script type="text/javascript"> bkLib.onDomLoaded(nicEditors.allTextAreas); </script>			
		<script src="@Url.Content("~/Scripts/Iris.js")" type="text/javascript"></script>

	</head>
	<body>
		<div id="wrapper">
			@Html.Partial("_AdminPanel")
		  <div class="container">
			<div class="span-24">
				<div id="header">
					<div id="logo">  <a href="../../Home/Index"><img src="@Url.Content("~/Ext/themes/base/images/logo.png")" alt="Iris logo"></a></div>
					<div id="slogan">
						<h1>ÍRIS</h1>
						<h2>Ættleiðingartengd fræðsla</h2>
					</div>


					<div id="searchbar">
						   <form action="/Search/" method="post">
								   <div class="editor-field">
								   <input class="text-box single-line text"  id="Email" name="theSearchString" type="text" value="" />
								   </div>
									<p>
									 <input type="submit" value="Leita..." />
									</p>
						</form>
					</div>

				</div><!-- end .header -->
			</div>
			<div class="span-24"><!-- begin nav -->
				<div id="nav">
					<ul id="topmenu"> 
						<li>@Html.ActionLink("Heim", "Index", "Home")</li> 
						<li>@Html.ActionLink("Greinar", "Index", "Content")</li> 
						<li>@Html.ActionLink("Algengar spurningar", "Index", "FAQ")</li>
						<li>@Html.ActionLink("Hlekkir", "Index", "Link")</li>
						<li>@Html.ActionLink("Atburðir", "Index", "events")</li>
						<li>@Html.ActionLink("Annað", "Index", "Staticpages")</li>
						<li>@Html.ActionLink("Um Okkur", "UmOkkur", "AboutUs")</li>				 
						<li>@Html.ActionLink("Hafa Samband", "Index", "Contact")</li> 
						<li>
						@if (Request.IsAuthenticated)
						{
							@Html.ActionLink("Útskrá", "LogOff", "Account")
						}
						else
						{
							<a href="#" id="loginbutton">Innskráning</a>
						}
						</li>
						<li id="NyGreinFagadilar">
						@if (User.IsInRole("Fagaðilar"))
						{
							@Html.ActionLink("Ný grein", "Create", "Content", new { news = false }, null)
						}
						</li>
					</ul>
					 
				</div><!-- end nav -->
			</div><!-- end span nav -->
			<div class="span-24"><!-- begin subnav -->
				<div id="subnav">
					@RenderSection("SubMenu", required: false)
				</div><!-- end subnav -->
			</div><!-- end span subnav -->
			<div id="maincontainer"><!-- begin container to hold all data in main -->
			<div id="span-24">
				<div id="sitebar"><!-- begin sitebar -->
					<div class="span-6">
						@{Html.RenderAction("_EventMenu", "Events");}
                    <div class="span-6">
						@{Html.RenderAction("_ContentMenu", "Content");}
					<div class="span-6">
						<a href="../../Staticpages/details/7"><img class="styrkjaclass" alt="Styrkja okkur tengill" src="@Url.Content("~/Ext/images/styrkja.png")" /></a>
					</div>
                    </div>
				</div><!-- end sitebar -->
			<div id="main"> <!-- begin main -->
			<div class="span-17 error last hide">Error Messages !</div>
				<div class="span-17 last">
					@RenderBody()
				</div>
				
			</div><!-- end main -->
			</div><!-- end sitebar -->
			
			<div class="span-24">
				<div class="sponsor">
					@{Html.RenderAction("_SponsorsMenu", "Sponsor");}
				</div>
			</div>
			</div><!-- end maincontainer -->
			
			<div class="span-24"><!-- footer span -->
			<div id="footer">
				<div class="span-8">
					<h4>Flýtitenglar</h4> 
					<ul> 
						<li>@Html.ActionLink("Skoða greinar", "Index", "Content") </li> 
						<li>@Html.ActionLink("Senda póst á okkur", "Index", "Contact")</li> 
						<li><a class="styrkja" href="../../Staticpages/details/7">Styrkja okkur!!</a></li>
					</ul>
				</div>
				<div class="span-8">
					<h4>Upplýsingar</h4> 
					<ul> 
						<li>Íris - Upplýsingarmiðstöð</li> 
						<li>Staðsetning: Menntavegur 1</li> 
						<li>Email: iris@iris.is</li>  
					</ul>
				
				</div>
<div class="span-8 last">
	
		<form action="/Newsletter/Add" method="post">    
			  <h4>Skrá á Póstlista</h4>
			  <div class="editor-label">
			   <label for="Email">Tölvupóstfang</label>
				</div>
				<div class="editor-field">
				<input class="text-box single-line" id="Email" name="Email" type="text" value="" />
			
				</div>

				<p>
					<input type="submit" value="Skrá" />
				</p>
			   @Html.ActionLink("Afskrá af póstlista", "Remove", "Newsletter")
		</form>     
					</div><!-- end footer -->
			</div><!-- end span footer -->
			
			</div><!-- end .container -->
		</div>
		</div><!-- end wrapper -->
		<div id="logindialog">
		  <form action="/Account/LogOn" method="post">    
				  <h3>Innskráning</h3>
				  <div class="editor-label">
				   <label for="Email">Notendanafn</label>
					</div>
					<div class="editor-field">
						<input class="text-box single-line" id="UserName" name="UserName" type="text" value="" />
					</div>
									  <div class="editor-label">
				   <label for="Email">Lykilorð</label>
					</div>
					<div class="editor-field">
						<input class="text-box single-line" id="Password" name="Password" type="password" value="" />
					</div>
					<p><input type="submit" value="Innskrá" /></p>
		</form>
		</div>
	</body>
</html>
